def fav(*fr):
    print('我喜欢的水果有：')
    for i in fr:
        print(i)

fav('苹果')
fav('香蕉','苹果','芒果')
fav('苹果','西瓜','橙子','榴莲','草莓')


def show(a,b,*l):
    print(a)
    print(b)
    print(l)

show(1,2,3,4,5,6,7,9,56)

def re(a,b,c,d):
    return a+b,c*d, a-c

ss=re(1,2,3,4)
print(ss)

def rectangle():
    a=int(input('请输入矩形的长(整数值):'))
    b=int(input('请输入矩形的宽(整数值):'))
    s=a*b
    c=2*(a+b)
    print('该矩形面积为：',s)
    print('该矩形周长为：',c)
rectangle()

def fu():
    a=20
    return a

a=1
print(a)
c=fu()
print(c)